/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package at.tugraz.hidipic.model;

import java.util.Set;
import javax.persistence.*;

/**
 *
 * @author mario
 */
@Entity
@Table(name="inputdataitem")
public class InputDataItem extends DataItem {

    @ManyToMany(fetch = FetchType.EAGER)
    @JoinTable(name = "inputdataitem_result")
    private Set<Result> results;

    public Set<Result> getResults() {
        return results;
    }

    public void setResults(Set<Result> results) {
        this.results = results;
    }
}
